<include file="../Public/header" />

        
    </head>
    <body>
        <div id="container">
            <form method="post" action="__URL__/edit">
                <input type="hidden" value="{$app.id}" name="id" />
<table class="tableborder" width="100%">
				<tbody>
					<tr class="top">
						<td class="border"></td>
					</tr>
					<tr>
						<th class="header">tips</th>
					</tr>
					<tr>
						<td class="tips">
							<ul>
								<li>应用管理</li>
							</ul>
						</td>
					</tr>
					<tr class="bottom">
						<td class="border" colspan="5">&nbsp;</td>
					</tr>
				</tbody>
			</table> 
                <table class="tableborder" width="100%">
                    <tbody>
                        <tr>
                            <th class="header" colspan="2">管理应用</th>
                        </tr>
                        <tr class="label">
                            <th style="width:400px;">说明</th>
                            <th>设置</th>
                        </tr>

                        <tr class="cell">
                            <td class="altbg1">
                                <b>应用名:</b>
                                <br/>
                                <span class="smalltxt">在前台显示的名字</span>
                            </td>
                            <td class="altbg2"><input name="name" class="txt" value="{$app.name}"/></td>
                        </tr>
                        
                        <tr class="cell">
                            <td class="altbg1">
                                <b>应用目录名:</b>
                                <br/>
                                <span class="smalltxt">你的应用在apps下的文件夹名</span>
                            </td>
                            <td class="altbg2"><input name="enname" class="txt" value="{$app.enname}" readonly/></td>
                        </tr>
                        
                        
                        
                        
                        
                        <tr class="cell">
                            <td class="altbg1">
                                <b>开发者:</b>
                                <br/>
                                <span class="smalltxt">开发者的名字</span>
                            </td>
                            <td class="altbg2"><input name="author" class="txt" value="{$app.author}"/></td>
                        </tr>
                        
                        
                        <tr class="cell">
                            <td class="altbg1">
                                <b>应用访问地址:</b>
                                <br/>
                                <span class="smalltxt">{APPS_URL}对应网站配置的APP应用安装目录<BR>注意:需指向应用的安装根目录</span>
                            </td>
                            <td class="altbg2"><input name="url" style="width:200px;" class="txt" value="{$app.url}"/> / <input name="url_exp" style="width:100px;" class="txt" value="{$app.url_exp}"></td>
                        </tr>
                        
                        <tr class="cell">
                            <td class="altbg1">
                                <b>应用管理地址:</b>
                                <br/>
                                <span class="smalltxt">应用管理地址</span>
                            </td>
                            <td class="altbg2"><input name="url_admin" style="width:200px;" class="txt" value="{$app.url_admin}"/></td>
                        </tr>                        
                        
                        <tr class="cell">
                            <td class="altbg1">
                                <b>图标:</b>
                                <br/>
                                <span class="smalltxt">应用图标</span>
                            </td>
                            <td class="altbg2"><input name="icon" style="width:250px;" class="txt" value="{$app.icon}"/></td>
                        </tr>

                        
                        <tr class="cell">
                            <td class="altbg1">
                                <b>查看某个用户这个应用的链接:</b>
                                <br/>
                                <span class="smalltxt">支持二级或独立域名,内部安装地址应为http://{APP_URL}/</span>
                            </td>
                            <td class="altbg2"><input name="uid_url" class="txt" style="width:250px"  value="{$app.uid_url}" /></td>
                        </tr>


                        <tr class="cell">
                            <td class="altbg1">
                                <b>应用附加链接名字:</b>
                                <br/>
                                <span class="smalltxt">比如日志右边的"发表"</span>
                            </td>
                            <td class="altbg2"><input name="add_name"  class="txt" value="{$app.add_name}"  />(选填)</td>
                        </tr>

                        <tr class="cell">
                            <td class="altbg1">
                                <b>应用附加链接的地址:</b>
                                <br/>
                                <span class="smalltxt">支持二级或独立域名,内部安装地址应为http://{APP_URL}/</span>
                            </td>
                            <td class="altbg2"><input name="add_url" style="width:250px" class="txt" value="{$app.add_url}" />(选填)</td>
                        </tr>


                        <tr class="cell">
                            <td class="altbg1">
                                <b>状态:</b>
                                <br/>
                                <span class="smalltxt">"默认" --- 表示用户默认就安装的;<br/>"可选" --- 表示用户点击添加应用后才会显示的;<br/>"关闭" --- 表示用户在前台暂时看不到</span>
                            </td>
                            <td class="altbg2">
                                <input class="radio" type="radio" name="status" value="0" <php>if($app["status"] == 0) echo 'checked="true"';</php>/>
                                默认
                                <br/>
                                <input class="radio" type="radio" name="status" value="1" <php>if($app["status"] == 1) echo 'checked="true"';</php>/>
                                可选
                                <br/>
                                <input class="radio" type="radio" name="status" value="2" <php>if($app["status"] == 2) echo 'checked="true"';</php>/>
                                关闭
                            </td>
                        </tr>
                        <tr class="cell">
                            <td class="altbg1">
                                <b>位置:</b>
                                <br/>
                                <span class="smalltxt">这里写说明</span>
                            </td>
                            <td class="altbg2">
                                <input class="radio" type="radio" name="place" value="0" <php>if($app["place"] == 0) echo 'checked="true"';</php>/>
                                左边栏
                                <br/>
                                <input class="radio" type="radio" name="place" value="1" <php>if($app["place"] == 1) echo 'checked="true"';</php>/>
                                上边栏
                                <br/>
                                <input class="radio" type="radio" name="place" value="2" <php>if($app["place"] == 2) echo 'checked="true"';</php>/>
                                左边栏和上边栏都有
                            </td>
                        </tr>
                        <tr class="cell">
                            <td class="altbg1">
                                <b>描述:</b>
                                <br/>
                                <span class="smalltxt">这里写说明</span>
                            </td>
                            <td class="altbg2">
                                <textarea cols="30" name="description" rows="5" >{$app.description}</textarea>
                            </td>
                        </tr>

                        <tr>
                            <td class="footer" colspan="2">
                                <input type="submit" class="button" value="提交" />
                                <!-- 						<div class="imgbtn"><button>添加</button></div>
                            <div class="imgbtn"><button class="del">删除</button></div>
                            <div class="imgbtn"><button class="edit">修改</button></div>
                            <div class="imgbtn"><button class="sort">排序</button></div>
                            <div class="imgbtn"><button class="find">查询</button></div>-->
                            </td>
                        </tr>
                        <tr class="bottom">
                            <td class="border" colspan="5">&nbsp;</td>
                        </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </body>
</html>
